<?php 
namespace Home\Controller;
use Think\Controller;
class CountController extends Controller{


	public function count(){
		$username=cookie('username');
		if($username){
			$this->display();
		}else{
			redirect(U('Login/login'));
		}
	}

}















 ?>